<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<!--
			name ：相当于给你的表单取名字，用处是给以后JS JQUERY方便取值
			method :
				post  ：body提交数据  提交参数不会出现URL后面
				get：URL提交数据 http://......userName=admin&password=admin
					 跟在uRL数据有大小限制
			action:代表的是动作，你这个表格提交给谁处理就写在这里		 
		-->
		<form name="registerForm" method="post" action="table.html">
			<h2 align="center">User Register</h2>
			<hr>
			<input type="hidden" name="school" value="suda">
			<!-- input 里面的name 最好和javabean的属性名相同-->
			<table border="1" align="center" width="600" cellpadding="5" cellspacing="0">
				<tr>
					<td>userName</td>
					<td><input type="text" name="userName" value="admin"></td>
					<td>password</td>
					<td><input type="password" name="password"></td>
				</tr>
				<tr>
					<td>gender</td>
					<td>male:<input type="radio" name="gender" value="male">
					fmale:<input type="radio" name="gender" value="fmale"  checked>
					</td>
					<td>province</td>
					<td>
						<select name="province">
							<option value="1">苏州</option>
							<option value="2" selected="selected">香港</option>
							<option value="3">台湾</option>
						</select>
					</td>
				</tr>
				<tr>
					<td>hobbies</td>
					<td colspan="3"> 
						Sleeping:<input type="checkbox" name="hobbies" value="s">
						eating:<input type="checkbox" name="hobbies" value="e">
						playing:<input type="checkbox" name="hobbies" value="p">
					</td>
				</tr>
				<tr>
					<td valign="top">introd</td>
					<td colspan="3">
					<textarea rows="6" cols="80"></textarea>
					</td>
				</tr>
			</table>
			<br>
			<center>
				<input type="submit" value="register">
				<input type="reset"  value="reset"/>
			</center>
			
		</form>
	</body>
</html>
